<div class="modal-content">
    <div class="modal-header">
        <h3 class="modal-title">部署应用</h3>
    </div>
    <div class="modal-body">
        <div class="row">
            <div class="col-sm-12" style="line-height: 32px;">
                <div class="form-group matrix-lable-left">
                    <label class="col-sm-2 control-label">分支/版本：</label>
                    <div class="col-sm-5">
                        <m-ui-select prompt="请手动选中分支"
                                     itme-list="info.branchList"
                                     selected-item="info.sltbranchItem"
                                     select-item-fun="selectApiFun(item)"
                                     has-disabled="info.defaultBranch">
                        </m-ui-select>
                    </div>
                    <div class="col-sm-5">
                        <label class="i-checks">
                            <input type="checkbox" ng-model="info.defaultBranch" ng-change="changeCheckBox(info.defaultBranch)">
                            <i></i>
                            依照项目分支
                        </label>
                    </div>
                </div>
            </div>
            <div class="col-sm-12" style="margin-top: 5px;" ng-if="!info.defaultBranch">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    <alert type="danger" style="padding: 10px;">
                        <b>不推荐手动部署！</b>请尽量使用任务模板批量提交，防止遗漏统计您的工作量。
                    </alert>
                </div>
            </div>
            <div class="col-sm-12" ng-if="!info.defaultBranch">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    <label class="i-checks">
                        <input type="checkbox" ng-model="info.checkRisk" ng-change="changeRiskCheckBox(info.checkRisk)">
                        <i></i>
                        已了解，只是临时借用一下！
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="createClick()" ng-disabled="!info.defaultBranch && !info.checkRisk">确定</button>
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="cancelClick()">取消</button>
    </div>
</div>